<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo '�����'?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<?php echo $this->set_css('managecp.css', 'admin');?>" type="text/css" media="all" />
<meta content="Comsenz Inc." name="Copyright" />
</head>
<body scroll="no">
<div class="container">
    <h3><a href="<?php echo $this->set_url('admin','admin');?>">用户列表</a> 添加用户</h3>
 		<form action="<?php echo $this->set_url('admin', 'admin', 'add');?>" method="post">
			<table class="datalist fixwidth" style="width:100%;">
				<tr>
					<td style="width:5px;">登陆名：</td>
					<td align="left"><input type="text" id="username" name="username"></td>
				</tr>
				<tr>
					<td style="width:5px;">密码：</td>
					<td align="left"><input type="password" id="password" name="password"></td>
				</tr>
				<tr>
					<td style="width:5px;">真实姓名：</td>
					<td align="left"><input type="text" id="realname" name="realname"></td>
				</tr>
				<tr>
					<td style="width:5px;">邮件：</td>
					<td align="left"><input type="text" id="email" name="email"></td>
				</tr>
				<tr>
					<td style="width:5px;">用户组：</td>
					<td align="left">
					<select name="group_id">
					<?php foreach ($group_list as $key=>$val):?>
					<option value="<?php echo $val['id']?>"><?php echo $val['name']?></option>
					<?php endforeach;?>
					</select>
					</td>
				</tr>
				<tr class="nobg">
					<td><input type="submit" value="提 交" class="btn" /></td>
					<td class="tdpage" colspan="7"><input type="hidden" value="<?php echo isset($opt)?$opt:''?>" name="opt" /></td>
				</tr>
				
			</table>
		</form>
    </div>
    
</div>
</body>
</html>
